<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <title>Richzoo 众筹<if condition="($deal_info.name neq '')">&nbsp;- {$deal_info.name}</if></title>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <meta name="viewport" content="width=device-width"/>
    <link rel="stylesheet" href="/style/home/bootstrap.css"/>
    <link rel="stylesheet" href="/style/home/common.css"/>
    <link rel="stylesheet" href="/style/home/jquery.validator.css"/>
    <link rel="stylesheet" href="/javascript/home/webuploader/webuploader.css"/>
    <script type="text/javascript" src="/javascript/home/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="/javascript/home/bootstrap.min.js"></script>
    <script type="text/javascript" src="/javascript/home/jquery.validator.js"></script>
    <script type="text/javascript" src="/javascript/home/zh_CN.js"></script>
    <script type="text/javascript" src="/javascript/home/webuploader/webuploader.min.js"></script>
    <script type="text/javascript" src="/javascript/home/esl.js"></script>
    <!--[if lte IE 6]>
    <link rel="stylesheet" href="/style/home/bootstrap-ie6.css">
    <![endif]-->
    <!--[if lte IE 7]>
    <link rel="stylesheet" href="/style/home/ie.css">
    <![endif]-->
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="/javascript/home/html5.js"></script>
    <script src="/javascript/home/respond.min.js"></script>
    <![endif]-->
    <link rel="shortcut icon" href="/images/home/favicon.ico"/>
    <link rel="apple-touch-icon" href="/images/home/touchicon.png"/>
</head>
<body>
<!--header-->
<div class="top-header">
    <div class="clearfix container">
        <!-- >768 nav-->
        <div class="row hidden-xs">
            <div class="logo col-lg-3">
                <a href="/">
                    <img src="{$config.SITE_LOGO}" class="img-responsive"/>
                </a>
            </div>
            <div class="col-lg-9">
                <div class="wrap-nav col-sm-9">
                    <ul class="clearfix" id="nav-list">
                        <li>
                            <a href="/">首页</a>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">项目浏览<i class="icon-chevron-down">向下</i> </a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="/list/?id=0" title="全部">全部</a></li>
                                <foreach name="deal_cate_list" item="vo">
                                    <li><a href="/list/?id={$vo.id}" title="{$vo.name}">{$vo.name}</a></li>
                                </foreach>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a href="/user.html" class="dropdown-toggle" data-toggle="dropdown">我的众筹<i class="icon-chevron-down">向下</i> </a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="/user.html">我的众筹</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="/project/add.html">发起项目</a>
                        </li>
                        <li>
                            <a href="/help/tech.html">新手帮助</a>
                        </li>
                    </ul>
                </div>
                <div class="user col-sm-3">
                    <empty name="user.user_name">
                        <a data-toggle="modal" class="pull-right  " id="reg-btn" onclick="code('.code-reg')" data-target="#reg_dialog">注册</a>
                        <a data-toggle="modal" id="login-btn" onclick="code('.code-login')" class="pull-right mr20" data-target="#login_dialog">登录</a>
                        <else />
                        <a href="/user/logout" class="user-name pull-right col-xs-3">退出</a>
                        <a href="/user/support.html" class="pull-right col-xs-8 text-over" style="padding-right: 10px;">{$user.user_name}</a>
                        <!--<div class="user-img visible-lg ">-->
                        <!--<a href="/user.html"><div class="user-img-bg"></div>-->
                        <!--<empty name="user.avatar"><img src="/images/avatar/noavatar_small.gif" /><else /><img src="{$user.avatar_small}" /></empty>-->
                        <!--</div>-->
                    </empty>
                </div>
            </div>

        </div>
        <!-- <768 nav-->
        <div class="row visible-xs">
            <div class="logo">
                <a href="/">
                    <img src="{$config.SITE_LOGO}" class="col-xs-4"/>
                </a>
            </div>
            <div class="user col-xs-6 col-xs-offset-2 text-right">
                <empty name="user.user_name">
                    <a data-toggle="modal" id="reg-btn" onclick="code('.code-reg')" data-target="#reg_dialog">注册</a>
                    <a data-toggle="modal" id="login-btn" onclick="code('.code-login')" class="ml10" data-target="#login_dialog">登录</a>
                    <else />
                    <div class="user-img">
                        <a href="/user.html"><div class="user-img-bg"></div>
                            <empty name="user.avatar"><img src="/images/avatar/noavatar_small.gif" /><else /><img src="{$user.avatar_small}" /></empty>
                    </div>
                    <a href="/user/logout" class="user-name pull-right" style="line-height: 27px;margin-left: 5px;">退出</a>
                    <a href="/user/support.html" class="user-name">{$user.user_name}</a>
                </empty>
            </div>
        </div>
        <div class="row visible-xs mt5">
            <div class="col-xs-12">
                <ul class="clearfix" id="phone-nav-list">
                    <li class="col-xs-2">
                        <a href="/">首页</a>
                    </li>
                    <li class="dropdown col-xs-3">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">项目浏览<i class="glyphicon glyphicon-chevron-down"></i> </a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="/list/?id=0" title="全部">全部</a></li>
                            <foreach name="deal_cate_list" item="vo">
                                <li><a href="/list/?id={$vo.id}" title="{$vo.name}">{$vo.name}</a></li>
                            </foreach>
                        </ul>
                    </li>
                    <li class="col-xs-3">
                        <a href="/user.html" class="dropdown-toggle" data-toggle="dropdown">我的众筹<i class="glyphicon glyphicon-chevron-down"></i> </a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="/user.html">我的众筹</a></li>
                        </ul>
                    </li>
                    <li class="col-xs-2">
                        <a href="/project/add.html">发起项目</a>
                    </li>
                    <li class="col-xs-2">
                        <a href="/help/about.html">新手帮助</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!--header end-->